﻿@model ComicBookApp.Web.Models.CreatorDetailVM

<div class="row">
    <h3>@Model.Creator.Name <small><a href="/Creator/Edit/@Model.Creator.Id">Edit</a></small></h3>
    <h4>@Model.Creator.Role</h4>
</div>
<div class="row">
    
    <table class="table table-hover">
        <tr>
            <th>Comic Books</th>
        </tr>
        @foreach (var comic in @Model.Comics)
        {
            <tr onclick="location.href='/ComicBook/Detail/@comic.Id'">
                <td>@comic.Title</td>
            </tr>
        }
    </table>
</div>